package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.convert.BoolToStringDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-制动测试对象 data_tshj_zhd
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-制动测试对象")
public class DataTshjZhd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 制动测试ID */
    private Long zhdId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 运动方向（0下放 1上提） */
    @Excel(name = "运动方向", readConverterExp = "0=下放,1=上提")
    @ApiModelProperty(value = "运动方向")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String up;

    /** 是否是提人(0提物 1提人) */
    @Excel(name = "是否是提人(0提物 1提人)")
    @ApiModelProperty(value = "是否是提人(0提物 1提人)")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String upRen;

    /** 制动时间 */
    @Excel(name = "制动时间")
    @ApiModelProperty(value = "制动时间")
    private String zhdTime;

    /** 制动初速度 */
    @Excel(name = "制动初速度")
    @ApiModelProperty(value = "制动初速度")
    private String zhdchsd;

    /** 制动距离 */
    @Excel(name = "制动距离")
    @ApiModelProperty(value = "制动距离")
    private String zhdjl;

    /** 制动加速度 */
    @Excel(name = "制动加速度")
    @ApiModelProperty(value = "制动加速度")
    private String accZhd;

    /** 测速方式 0：井深 1：线速度 2：测速电机 */
    @Excel(name = "测速方式 0：井深 1：线速度 2：测速电机")
    @ApiModelProperty(value = "测速方式 0：井深 1：线速度 2：测速电机")
    private String csfsh;

    /** 开始制动时间 */
    @Excel(name = "开始制动时间")
    @ApiModelProperty(value = "开始制动时间")
    private String startTime;

    /** 结束制动时间 */
    @Excel(name = "结束制动时间")
    @ApiModelProperty(value = "结束制动时间")
    private String endTime;

    /** JSON-制动速度数值List */
    @Excel(name = "JSON-制动速度数值List")
    @ApiModelProperty(value = "制动速度数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String zhdsdList;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    // 制动速度线
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO zhdsdChartLineDTO;

    private String charts;

    public void setZhdId(Long zhdId) 
    {
        this.zhdId = zhdId;
    }

    public Long getZhdId() 
    {
        return zhdId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setUp(String up) 
    {
        this.up = up;
    }

    public String getUp() 
    {
        return up;
    }
    public void setUpRen(String upRen) 
    {
        this.upRen = upRen;
    }

    public String getUpRen() 
    {
        return upRen;
    }
    public void setZhdTime(String zhdTime) 
    {
        this.zhdTime = zhdTime;
    }

    public String getZhdTime() 
    {
        return zhdTime;
    }
    public void setZhdchsd(String zhdchsd) 
    {
        this.zhdchsd = zhdchsd;
    }

    public String getZhdchsd() 
    {
        return zhdchsd;
    }
    public void setZhdjl(String zhdjl) 
    {
        this.zhdjl = zhdjl;
    }

    public String getZhdjl() 
    {
        return zhdjl;
    }
    public void setAccZhd(String accZhd) 
    {
        this.accZhd = accZhd;
    }

    public String getAccZhd() 
    {
        return accZhd;
    }
    public void setCsfsh(String csfsh) 
    {
        this.csfsh = csfsh;
    }

    public String getCsfsh() 
    {
        return csfsh;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setZhdsdList(String zhdsdList) 
    {
        this.zhdsdList = zhdsdList;
    }

    public String getZhdsdList() 
    {
        return zhdsdList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getZhdsdChartLineDTO() {
        return zhdsdChartLineDTO;
    }

    public void setZhdsdChartLineDTO(ChartLineDTO zhdsdChartLineDTO) {
        this.zhdsdChartLineDTO = zhdsdChartLineDTO;
    }

    public String getCharts() {
        return charts;
    }

    public void setCharts(String charts) {
        this.charts = charts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zhdId", getZhdId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("up", getUp())
            .append("upRen", getUpRen())
            .append("zhdTime", getZhdTime())
            .append("zhdchsd", getZhdchsd())
            .append("zhdjl", getZhdjl())
            .append("accZhd", getAccZhd())
            .append("csfsh", getCsfsh())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("zhdsdList", getZhdsdList())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
